<template>
  <div>
    <h4 class="text-center">全体志愿者</h4>
    <table class="table">
      <thead>
        <tr>
          <th>姓名</th>
          <th>联系电话</th>
          <th>省</th>
          <th>市</th>
          <th>县</th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="(item,index) in AllVoluntary" :key="index" class="table-success">
          <td>{{ item.voluntaryName }}</td>
          <td>{{ item.voluntaryTelephone }}</td>
          <td>{{ item.province }}</td>
          <td>{{ item.city }}</td>
          <td>{{ item.area }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script>
export default {
  name: 'MyOrganizationVoluntary',
  data() {
    return {
      AllVoluntary: null
    }
  },
  methods: {
  },
  created() {    
    this.axios.get(`/SelectIdentity/Manager/GetAllVoluntary`).then(res => {
      if (res.data != null) {
        this.AllVoluntary = res.data
      }
    })
  }
}
</script>

<style lang="less" scoped>
</style>